<script setup lang="ts">
import { string } from "vue-types";

defineOptions({
  name: "NewTag"
});
const props = defineProps({
  label: {
    required: true
  }
});
</script>

<template>
  <div class="new-tag">
    {{ props.label }}
  </div>
</template>

<style scoped lang="css">
.new-tag {
  display: inline-block;
  padding: 1px 4px;
  margin: 3px;
  border-radius: 5px;
  font-size: var(--newcms-font-size-tag-middle);
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 300ms;
  cursor: pointer;
}
.new-tag:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
}
</style>
